import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
        model: [],
        username:'',
        userPhone:""
    },
    mutations: {
        setModel(state, list) {
            state.model = list
            console.log(state.model)
        }
    },
    actions: {}
})
export default store